package model;

import java.awt.Color;

public abstract class Tower extends MapObject {
	
	private int range;
	private int speed;
	private int damage;
	private boolean movable = false;
	private boolean isAlive = false;
	
		
	public Tower(Location location,int range, int speed, int damage){
		super(location);
		this.range = range;
		this.speed = speed;
		this.damage = damage;
		
	}
	
	public abstract void setRangeLvlUp();
	public abstract void setSpeedLvlUp();
	public abstract void setDamageLvlUp();

	public int getRange() {
		return range;
	}

	public void setRange(int range) {
		this.range = range;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public int getDamage() {
		return damage;
	}

	public void setDamage(int damage) {
		this.damage = damage;
	}

	@Override
	public boolean isMovable() {
		return movable;
	}

	public void setMovable(boolean movable) {
		this.movable = movable;
	}
	@Override
	public boolean isAlive(){
		return isAlive;
	}
	
	

}
